#!/usr/bin/env python
# -*- coding:utf-8 -*-
import abc

import six

__all__ = ['BaseDB']


@six.add_metaclass(abc.ABCMeta)
class BaseDB:
    def __init__(self, *args, **kwargs):
        pass

    @abc.abstractmethod
    def init(self, *args, **kwargs):
        pass

    @abc.abstractmethod
    def close(self, *args, **kwargs):
        pass
